﻿package rob.data{

	public class Vect3d{
		public var x:Number, y:Number, z:Number;
		
		public function Vect3d(ix:Number,iy:Number,iz:Number):void{
			x = ix;
			y = iy;
			z = iz;
		}

		public function clone(){
			return new Vect3d(x,y,z);
		}
		
		public function set(ix:Number,iy:Number,iz:Number):void{
			x = ix;	y = iy;	z = iz;
		}
		
		public function setV(v):void{
			x = v.x;	y = v.y;	z = v.z;
		}
		
		public function toString():String{
			return "Vector3d: ("+x+","+y+","+z+")";
		}
	}
}